home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModelessRadiosData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  956 b   |  49 lines  |  [TEXT/CWIE]

  1. // DModelessRadiosData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idRadioGroup3        = 'Rad3';
  9. const long    idGroup3        = 'Gro3';
  10. const long    idGraphic5        = 'Gra5';
  11. const long    idBevel3        = 'Bev3';
  12. const long    idText3        = 'Tex5';
  13.  
  14. class AMEngine;
  15.  
  16. //----------
  17. class DModelessRadiosData : public AMSignaler {
  18. public:
  19.                 DModelessRadiosData ();
  20.     virtual        ~DModelessRadiosData ();
  21.  
  22. public:
  23.     void        ReadFromFile    (AMEngine*        engine);
  24.     void        WriteToFile        (AMEngine*        engine);
  25.  
  26. public:
  27.     SInt16        GetRadioGroup3 () const;
  28.     void        SetRadioGroup3    (SInt16        inValue);
  29.  
  30.     SInt16        GetGroup3 () const;
  31.     void        SetGroup3    (SInt16        inValue);
  32.  
  33.     SInt16        GetGraphic5 () const;
  34.     void        SetGraphic5    (SInt16        inValue);
  35.  
  36.     SInt16        GetBevel3 () const;
  37.     void        SetBevel3    (SInt16        inValue);
  38.  
  39.     SInt16        GetText3 () const;
  40.     void        SetText3    (SInt16        inValue);
  41.  
  42. protected:
  43.     SInt16        mRadioGroup3;
  44.     SInt16        mGroup3;
  45.     SInt16        mGraphic5;
  46.     SInt16        mBevel3;
  47.     SInt16        mText3;
  48. };
  49.